package com.lannuokeji.biz.items.service;

import com.lannuokeji.biz.items.entity.DeviceApply;
import com.lannuokeji.biz.items.request.DeviceApplyRequest;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 申请设备 服务类
 * </p>
 *
 * @author lannuoTeck
 * @since 2018-03-19
 */
public interface DeviceApplyService extends IService<DeviceApply> {

	/**
	 * 查询申请列表，withChildren device
	 * @param page
	 * @return
	 */
	Page pageWithDevice(Page page, DeviceApply deviceApply);

	boolean createApplyWithDevice(DeviceApplyRequest deviceApplyRequest);

}
